<script setup>
import { RouterLink } from 'vue-router';



</script>
<template>
    <div class="nav">
        <RouterLink to="/home">商品展示</RouterLink>
        <RouterLink to="/add">添加商品与评论</RouterLink>
        <RouterLink to="/login">登录与注册</RouterLink>
    </div>
</template>
<style>
.nav{
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: aquamarine;
    font-weight: 700;
}
.nav a{
    width: 20%;
    height: 100%;
    font-size: 30px;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}
</style>